package com.jyy.prefabricated.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 课程包分类考试表(CourseCategoryExam)实体类
 *
 * @author mrl
 * @since 2021-10-14 19:53:15
 */
@Data
public class CourseCategoryExam implements Serializable {
    private static final long serialVersionUID = -67064458292964567L;

    private Integer id;
    /**
     * 课程包分类id
     */
    private Integer ccId;
    /**
     * 考试id
     */
    private Integer exId;
    /**
     * 应达学时
     */
    private String classHours;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 考试名称
     */
    private String name;

    /**
     * 售价
     */
    private BigDecimal price;

}